package com.ics.cmsadmin.modules.basic.service;

import com.ics.cmsadmin.frame.core.enums.LevelEnum;
import com.ics.cmsadmin.modules.basic.bean.Collect;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface CollectionService {

    int delete(Collect collect);

    int insert(Collect collect);

    Boolean select(Collect collect);

    Map<LevelEnum, List> getCollectionList(String userId);

    Integer queryTotal(LevelEnum levelName, String levelId);

    int toggleCollect(Collect collect);

}
